package com.cq.hd.merchant.vo;



import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class MyPageVo implements Serializable {
    private static final long serialVersionUID = -3247683283517285264L;

    @ApiModelProperty(value = "账户金额=商户本金+补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalAmt;

    @ApiModelProperty(value = "商户本金（结算池账户展示）")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal balanceAmt;

    @ApiModelProperty(value = "待结算商户本金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal waitSettleBalanceAmt;

    @ApiModelProperty(value = "待入账商户本金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal pendingBalanceAmt;

    @ApiModelProperty(value = "累计本金入账金额（普通商户展示）")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal accBalanceAmt;

    @ApiModelProperty(value = "补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal subsidyAmt;

    @ApiModelProperty(value = "待结算商户补贴")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal waitSettleSubsidyAmt;

    @ApiModelProperty(value = "待入账补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal pendingSubsidyAmt;

    @ApiModelProperty(value = "提现中本金（普通商户）")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal progressingWithdrawAmt;

    @ApiModelProperty(value = "是否是商家")
    private Boolean businessState = false;

    @ApiModelProperty(value = "资金账户类型(1:自建资金账户 2:平台资金账户)")
    private Integer financialAccountType;

}
